package com.glsc.ngateway.common.api.platform.dto.gitee;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.glsc.ngateway.common.api.platform.dto.gitee.issueBase.IssueProgramDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.util.List;

/**
 * @author zhengyr
 * @date 2024/1/23-10:53
 */

@Data
@ToString(callSuper = true)
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude
@EqualsAndHashCode(callSuper=true)
@ApiModel(value="gitee任务明细(含任务内容)")
public class IssueDetailDto extends IssueBaseDto implements Serializable {

    @ApiModelProperty(value = "任务项目item")
    private IssueProgramDto program;

    @ApiModelProperty(value = "任务详情url")
    private String issue_url;

    @ApiModelProperty(value = "任务详情内容")
    private String description_html;

    @ApiModelProperty(value = "附件id列表")
    private List<Integer> attach_file_ids;

    @ApiModelProperty(value = "子工作项列表")
    private List<IssueDetailDto> children;
}
